package com.ocom.common.entity.access;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "dept_info")
public class EntityDeptInfo extends EntityBase implements Serializable {

    @TableId(value = "dept_id", type = IdType.AUTO)
    private Long deptId;

    private Long comId;

    private Long deptNo;

    private String deptName;

    private Long grade;

    private Integer leaf;

    private Long parentDeptId;

    private Integer status;

    private String remark;

    private Integer deptType;
}
